@import './custom.scss'; // 自定义样式
@import './elUI.scss';
@import './global.scss';

// 自定义tip提示=>适用于::after元素未使用的HTML

:not(input):not(img)[tip] {
  &:hover::after {
    animation-play-state: running;
    animation-fill-mode: forwards;
  }

  &::after {
    position: absolute;
    content: attr(tip);
    background-color: #333;
    padding: 10px 4px;
    border-radius: 2px;
    opacity: 0;
    animation-delay: 300;
    animation-play-state: paused;
    animation: opacity 0.3s linear;
  }
}

.c-scrollbar {
  @include roll($thumbColor: rgba(10, 160, 177, .1));
}